package com.itheima.demo;

import java.util.ArrayList;
import java.util.List;

public class Demo01 {//得到list的长度
    public static void main(String[] args) {
        List<String> list = new ArrayList<>(List.of("100"));
        int count = list.size();
        System.out.println(count);
    }
}
